CC = g++
CFLAGS = -O -Wall -m64 -std=gnu11
LIBS = -lm

## LinkList
# StackPro: main.cpp LinkList.o
# 	$(CC) main.cpp LinkList.o -o LinkProgram

# LinkList.o: LinkList.h LinkList.cpp
# 	$(CC) -c LinkList.h LinkList.cpp

# clean:
# 	rm *.o *.gch LinkProgram

## DuLink
# StackPro: main.cpp DuLink.o
# 	$(CC) main.cpp DuLink.o -o LinkProgram

# LinkList.o: DuLink.h DuLink.cpp
# 	$(CC) -c DuLink.h DuLink.cpp

# clean:
# 	rm *.o *.gch LinkProgram

## CycLink
StackPro: main.cpp CycLink.o
	$(CC) main.cpp CycLink.o -o LinkProgram

LinkList.o: CycLink.h CycLink.cpp
	$(CC) -c CycLink.h CycLink.cpp

clean:
	rm *.o *.gch LinkProgram

